export default ({
    state: {
        is_record: false,           //是否为录像页面
        a_steps: "",               //第一名玩家的走法
        b_steps: "",               //第二名玩家的走法
        record_loser: "",            //录像页面的输家
    },
    getters: {},
    mutations: {            //写非异步内容
        updateIsRecord(state, is_record) {
            state.is_record = is_record;
        },
        updateSteps(state, data) {
            state.a_steps = data.a_steps;
            state.b_steps = data.b_steps;
        },
        updateRecordLoser(state, record_loser) {
            state.record_loser = record_loser;
        }
    },
    actions: {},
    modules: {}
})